Skip to content

ci(deploy): admin gh-pages デプロイ前に ssh-agent ソケットを解放#1105

Merged
smalruby3-editor-bot[bot] merged 1 commit into
developfrom
ci/fix-admin-deploy-ssh-agent
Jul 19, 2026
Merged

ci(deploy): admin gh-pages デプロイ前に ssh-agent ソケットを解放#1105
smalruby3-editor-bot[bot] merged 1 commit into
developfrom
ci/fix-admin-deploy-ssh-agent

Conversation

@smalruby3-editor-bot

Copy link
Copy Markdown

PR #1094 マージ後の develop デプロイ失敗(build-and-deploy)の修正。

原因: admin SPA の smalruby.app/admin/ デプロイ(2 つ目の peaceiris/actions-gh-pages)が、先行する本体デプロイの ssh-agent が握ったままの /tmp/ssh-auth.sock に bind できず Address already in use で失敗。admin デプロイステップが develop で初めて走ったため顕在化した。

修正: 2 つのデプロイの間で pkill ssh-agent + ソケット削除を挟む。

(workflow ファイルのため Bot 権限では push 不可 → 人間名義で作成)

🤖 Generated with Claude Code

The admin SPA deploy to smalruby.app/admin/ (EPIC #1073) runs a second
peaceiris/actions-gh-pages in the same job. That action binds a fixed
SSH_AUTH_SOCK (/tmp/ssh-auth.sock) when using deploy_key, and the main
smalruby.app deploy above leaves its ssh-agent running, so the admin deploy
failed with 'unix_listener: cannot bind to path /tmp/ssh-auth.sock: Address
already in use'. Free the socket between the two deploys.

Surfaced on the first develop run that included the admin deploy step
(PR #1094 merge).
@smalruby3-editor-bot
smalruby3-editor-bot Bot merged commit 488941c into develop Jul 19, 2026
9 checks passed
@smalruby3-editor-bot
smalruby3-editor-bot Bot deleted the ci/fix-admin-deploy-ssh-agent branch July 19, 2026 08:53
@github-actions

Copy link
Copy Markdown

github-actions Bot pushed a commit that referenced this pull request Jul 19, 2026
…-deploy-ssh-agent

ci(deploy): admin gh-pages デプロイ前に ssh-agent ソケットを解放
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant